package dao;

import java.util.List;

import vo.SourceCategory;

public interface SourceCategoryDAO extends GenericDao<SourceCategory, Long> {

	public List<SourceCategory> findAll();

	public List<SourceCategory> findAll(int start, int pageSize);

	public List<SourceCategory> findByName(String name);

	public long findTotalCount();

	public SourceCategory getById(long id);

	public SourceCategory findByNameSourceId(String name,long sourceId);

	public void update(long id);

	public void delete(long id);// 不是真是删除

}
